from tortoise import fields
from tortoise.models import Model


class Test(Model):
    id = fields.IntField(pk=True)
    name = fields.CharField(max_length=50)
    email = fields.CharField(max_length=50, unique=True)
    password = fields.CharField(max_length=50)

    class Meta:
        table = 'test'
